Divertimento /dɪˌvɜːrtɪˈmɛntoʊ/ (Italian: [divertiˈmento]; from the Italian divertire "to amuse") is a musical genre, with most of its examples from the 18th century. The mood of the divertimento is most often lighthearted (as a result of being played at social functions) and it is generally composed for a small ensemble. The term is used to describe a wide variety of secular (non-religious) instrumental works for soloist or chamber ensemble. It is usually a kind of music entertainment, although it could also be applied to a more serious genre. After 1780, the term generally designated works that were informal or light.